@charset "utf-8";
//主题色
$theme-color: #34bede;
html {
    font-size: 62.5%;
}
* {
    margin: 0;
    padding: 0;
}
body,
html {
    max-width: 768px;
    margin: 0 auto;
}

body {
    font-family: "HiraginoSansGB W3";
    font-size: 1.6rem;

}

.body-wrap {
    background: #eff0f1;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding-bottom: 6.5rem;
}
.header {
    text-align: center;
    height: 4.5rem;
    line-height: 4.5rem;
    z-index: 1;
    background-color: #34bede;
}

.header .btn-slide-bar {
    float: left;
    cursor: pointer;
    width: 2rem;
    margin-left: 1.5rem;
    img {
        width: 100%;
    }

}

.main-wrap {
    margin: 1.5rem 2rem;
    overflow: hidden;

    //main common style
    %main-common {
        background-color: #fff;
        border: 0.1rem solid #ccc;
    }

    .recent {
        position: relative;
        margin-bottom:1.5rem;
        @extend %main-common;
        height: 5.5rem;
        line-height: 5.5rem;
        text-align: center;
        a {
            color: rgb(154, 154, 154);
            font-size: 1.7rem;
            &:hover {
                text-decoration: none;
            }
        }

        .back {
            position: absolute;
            right: .5rem;
            height: 2rem;
            img {
                height: 100%;
            }
        }
    }
    #carousel-game-type {
        @extend %main-common;
    }
}

#carousel-game-type {
    text-align: center;
    .carousel-indicators {
        li {
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            border-color: rgb(240,240,240);
            background: rgb(240,240,240);
            &+li{
                margin-left: .5rem;
            }
        }
    }
    .carousel-indicators .active {
        background-color: $theme-color;
    }
    .item-game {
        width: 100%;
    }

    .carousel-control {
        opacity: 1;
    }
    .carousel-control.left,
    .carousel-control.right {
        background-image: none;
    }

    .control-icon {
        position: absolute;
        top: 50%;
        height: 3rem;
        img {
            height: 100%;
        }
    }

    .control-icon-left {
        left: 15%;
    }
    .control-icon-right {
        right: 15%;
    }

    .game-name {
        margin-top: 0;
        font-size: 2rem;
        color: rgb(251, 180, 53);
        height: 4.5rem;
        line-height: 4.5rem;
        border-bottom: 0.1rem solid rgb(251, 180, 53);
    }

    .option-container {
        width: 80%;
        margin: 0 auto;
    }
    .game-option {
        width: 100%;
        margin: 1.5rem 0;
        opacity: 0.8;
        padding: 0;
        p {
            margin-top: 1rem;
            font-color: rgb(120, 120, 120);
            font-size: 1.3rem;
        }

    }

    .btn-option {
        width: 100%;
        height: 6.5rem;
        line-height: 6.5rem;
        margin: 1.5rem 0 0;
        padding: 0;
        font-size: 1.7rem;
        color: #fff;
        background-color: $theme-color;
    }

}
